
public class MountainBike implements Cloneable{
	private int rotate;


  	public MountainBike(int rotate){
		this.rotate=rotate;
	  }

	public void Setup(int i){
		this.rotate=i;
	}
	public int Getvaule(){
		return this.rotate; 
	}

	public void printDescription(){
		System.out.println("rotate:"+this.rotate);	
		System.out.println("\n");	
	}
   	public Object clone() throws CloneNotSupportedException {
       		return (MountainBike)super.clone();
    	}

	public boolean equals(MountainBike obj){
		if(obj instanceof MountainBike){

			if(obj.rotate==this.rotate){
				System.out.println("MountainBike=="+this.rotate+"=="+obj.rotate);
				return true; 
			}
			else{
				System.out.println("MountainBike!="+this.rotate+"!="+obj.rotate);
				return false; 
			}
		}
	        else{
			System.out.println("MountainBike!=");
        		return false;
		}
	}
}
